package com.huangyong.entity;

import java.sql.Timestamp;
import java.util.Date;

public class User {
    private String uid;
    private String username;
    private String password;
    private String phone;
    private String email;
    private Timestamp lastLoginTime;

    public User() {
		super();
	}

	public User(String uid, String username, String password, String phone, String email, Timestamp lastLoginTime) {
		super();
		this.uid = uid;
		this.username = username;
		this.password = password;
		this.phone = phone;
		this.email = email;
		this.lastLoginTime = lastLoginTime;
	}

	public User(String username, String password, String phone, String email) {
    	this.username = username;
    	this.password = password;
    	this.phone = phone;
    	this.email = email;
	}

	public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid == null ? null : uid.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

	public Timestamp getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Timestamp lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

}